Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(types): MockAgent accepts ProxyAgent, EnvHttpProxyAgent and RetryAgent for agent option #3497

Merged
merged 1 commit into from
Aug 24, 2024

Conversation

Uzlopak
Copy link
Contributor

@Uzlopak Uzlopak commented Aug 23, 2024

Fixes #3444

@Uzlopak Uzlopak marked this pull request as ready for review August 23, 2024 23:46
@Uzlopak Uzlopak added the Types Changes related to the TypeScript definitions label Aug 23, 2024
@KhafraDev
Copy link
Member

The issue sounds like a runtime issue, not a type issue.

@Uzlopak
Copy link
Contributor Author

Uzlopak commented Aug 24, 2024

I checked and MockAgent doesnt use the closed and destroyed attributes of the agent. Atleast I dont see it in the code. And the the here added typings tests fail in main, atleast you see the swiggly line in vscode

@Uzlopak Uzlopak merged commit 91230e8 into main Aug 24, 2024
39 checks passed
@Uzlopak Uzlopak deleted the fix-3444 branch August 24, 2024 01:40
@github-actions github-actions bot mentioned this pull request Dec 3, 2024
This was referenced Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Types Changes related to the TypeScript definitions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MockAgent not compatible with ProxyAgent,EnvHttpProxyAgent,RetryAgent
2 participants